<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" type="image/png">
    <title>Form Layouts</title>
    <?php $this->load->view('library/header');?>
</head>
<body  class="sticky-header">
<style>
    .flex-x{
        display: flex;
        flex-direction: row
    }
    .flex-y{
        display: flex;
        flex-direction: column;
    }
    .examine-box{
        display: none;
        height: 400px;
        width: 400px;
        border: 1px solid #DDDDDD;
        background-color: #f6f6f6;
        position: relative;
        top: -27px;
        right: 408px;
    }
    .Product-audit{
        line-height: 37px;
        padding-left: 40px;
        border-bottom: 1px solid #DDDDDD;
        background-color: #65CEA7;
    }
    .img{
        width: 127px;
        height: 113px;
        margin-left: 42px;
        margin-top: 20px;
    }
    .huohao{
        padding-left: 28px;
        padding-top: 50px;
    }
    .Result-box{
        margin-top: 10px;
    }
    .Result{

        padding: 5px 13px 5px 0px;
    }
    .adopt{
        cursor:pointer;
        margin-left: 37px;
        padding: 5px 13px;
        background-color: #5CB85C;
        color: white;
        border-radius: 5px;
    }
    .noadopt{
        cursor:pointer;
        margin-left: 37px;
        padding: 5px 13px;
        border-radius: 5px;
        color: #7A7676;
    }
    .fz700{
        font-weight: 700 !important;
    }
    .linh{
        line-height: 34px;
        padding: 0 !important;
    }
    .mtop10{
        margin: 15px 0 ;
    }
    .liyou{
        width: 90px;
        font-weight: 700 !important;
        padding-top: 33px;
    }
    .padiing-top{
        padding-top: 10px;
    }
    .pull-right{
        margin-top: 83px;
    }
    .yuanyin{
        width: 68%;
        margin: 0 auto;
    }
    .fz1{
        margin-top: 115px;
    }
    .fz3{
        width: 140px !important;
    }
    .fz2{
        display: flex;
    }

</style>
<section>
    <?php $this->load->view('library/left');?>
    <div class="main-content" >
        <div class="zhezhao"></div>
        <?php $this->load->view('library/top');?>
        <div class="page-heading">
            <h3>订单数量统计</h3>
            <ul class="breadcrumb">
                <li>
                    <a href="#">Forms</a>
                </li>
                <li class=""> Forms Layouts </li>
            </ul>
        </div>
<section class="wrapper">
    <section class="panel">
        <header class="panel-heading custom-tab turquoise-tab">
            <ul class="nav nav-tabs">
                <li class="">
                    <a href="" >订单数量统计</a>
                </li>
                
            </ul>
        </header>
        <div class="panel-body">
            <div class="tab-content">
                <div class="tab-pane active" id="whole">
                    <?php $this->load->view('library/search');?>
                    <section class="panel">
                        <div class="panel-body">
                            <div class="adv-table">
                                <table class="display table table-bordered table-striped" id="dynamic-table">
                                    <tr>
                                        <th width="1%">件数</th>
                                        <th width="1%">总数</th>
                                    </tr>
                                    <?php foreach($prepare as $k => $v){?>
                                    <tr class="gradeX">
                                        <td>
                                            <?php echo $v['num']?>
                                        </td>
                                        <td>
                                            <?php echo $v['count_num']?>
                                        </td>
                                    </tr>
                                    <?php }?>
                                </table>
                            </div>
                            
                        </div>
                        <div class="row-fluid">
                                <div class="span6">
                                    <div class="dataTables_paginate paging_bootstrap pagination">
                                        <ul>
                                            <?php echo $pages;?>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                    </section>
                </div>
            </div>
        </div>
        </div>
    </section>
</section>
        <footer>
            2014 &copy; AdminEx by
        </footer>
    </div>
</section>
<?php $this->load->view('library/footer');?>
</body>
</html>
<script src="/public/js/scripts.js"></script>